//子弹基础类(10 开始)
//1.生成子弹图片
//2.更换子弹的刚体
//3.负责子弹的移动，或者给力
//4.负责子弹的停止

module py2Obj {


	export class basicProp extends basicObj {
		//玩家加分
		public m_point: number;
		public m_propManger:PropManager;
		public constructor(world: any, gamePanle: any, romveSkins: any) {
			super(world, gamePanle, romveSkins);
			this.objkind = 100;

		}

		public init() {
			super.init();


		}
		public createMyRigidbody(): p2.Body {
			return null;
		}

		public getCollision(otherBody: basicObj) {
			if (otherBody.objkind == 301) {
				this.m_gamePanle.addPoint(this.m_point);
			}

		}

	}
}